package com.qixin.modules.eaBook.service;

import com.qixin.modules.eaBook.entity.EaAirticketbooksDetail;
import com.qixin.modules.eaBook.entity.EaAirticketbooks;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 机票账本
 * @Author: qixin-boot
 * @Date:   2021-07-03
 * @Version: V1.0
 */
public interface IEaAirticketbooksService extends IService<EaAirticketbooks> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(EaAirticketbooks eaAirticketbooks,List<EaAirticketbooksDetail> eaAirticketbooksDetailList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(EaAirticketbooks eaAirticketbooks,List<EaAirticketbooksDetail> eaAirticketbooksDetailList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
